package com.ruoyi.iot.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 【请填写功能名称】对象 iot_fluviograph
 *
 * @author ruoyi
 * @date 2025-01-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("iot_data_water_height")
public class IotDataWaterHeight extends IotSensor {

    private static final long serialVersionUID=1L;

    /**
     * 设备ID
     */
    private String deviceId;
    /**
     * 遥测设备ID
     */
    private String remoteId;
    /**
     * 监测上报时间
     */
    private Date reportTime;
    /**
     * 1小时5分钟间隔水位
     */
    @TableField("value_1h")
    private String value1h;
    /**
     * 当前值
     */
    private String valueCurrent;
    /**
     * 水库容量
     */
    private String reservoirCapacity;
    /**
     * 报文值
     */
    private String reportText;

    //经度
    @TableField(exist = false)
    private String longitude;
    //纬度
    @TableField(exist = false)
    private String latitude;

    @TableField(exist = false)
    private String sensorId;

    @TableField(exist = false)
    private String sensorName;

    @TableField(exist = false)
    private String stationId;

    @TableField(exist = false)
    private String stationName;

    @TableField(exist = false)
    private String sensorType;

    @TableField(exist = false)
    private List<Map<String,Object>> historyData;
}
